package com.dingup.provider.feign.client.paike.feedback;

import com.dingup.api.bean.feign.paike.feedback.PkLessonInfoFeignBean;
import com.dingup.api.bean.feign.paike.feedback.PkLessonInfoFeignDTO;
import com.dingup.api.bean.page.PageData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by wancheng on 2018/10/27.
 */
@Component
@FeignClient(value = "p-pk")
public interface PaikeFeedbackFeignClient {

    /**
     * 课堂反馈列表
     *
     * @param bean
     * @return
     */
    @RequestMapping(value = "/paike/feign/feedback/get_feedback_list_by_studentId_and_class_ids.do", method = RequestMethod.POST)
    public PageData<PkLessonInfoFeignDTO> getFeedbackListByStudentIdAndClassIds(PkLessonInfoFeignBean bean);
}
